/* 
 * File:   UnknownErrorException.hpp
 * Author: Aaron
 *
 * Created on 4. März 2011, 20:15
 */

#ifndef UNKNOWNERROREXCEPTION_HPP
#define	UNKNOWNERROREXCEPTION_HPP


/**
 * Contains wrapper classes for using OpenCL on the local machine.
 */
namespace OpenCLWrapping 
{
    /**
     * Exception which is thrown when there occurred an unknown error.
     */
    class UnknownErrorException
    {
        public:
            // -- Public Constructor
            UnknownErrorException(int _errorCode);

            // -- Public Methods
            /**
             * Retrieves the code of the unknown error.
             * @return An integer which represents the code of the error.
             */
            int getErrorCode() const;
            
        private:
            // -- Member
            int m_ErrorCode;
    };
}


#endif	/* UNKNOWNERROREXCEPTION_HPP */

